home *** CD-ROM | disk | FTP | other *** search
- REM $INCLUDE: 'fastgraf.bi'
-
- DEFINT A-Z
-
- DIM Bitmap AS STRING*256
-
- NewMode = FGbestmode(320,200,1)
- IF NewMode < 0 OR NewMode = 12 THEN
- PRINT "This program requires a 320 x 200 color graphics mode."
- STOP
- END IF
-
- OldMode = FGgetmode
- FGsetmode NewMode
- MapWidth = FGimagesiz(32,1)
-
- FGsetcolor 7
- FGrect 0, 31, 0, 7
- FGsetcolor 9
- FGtext "text", 4
- FGwaitkey
-
- FGmove 0, 7
- FGgetimage Bitmap, MapWidth, 8
- FGmove 4, 15
- FGdrwimage Bitmap, MapWidth, 8
- FGwaitkey
-
- FGsetmode OldMode
- FGreset
-
- END